/*
 * Copyright (C) 2010 Zaizi Limited.
 *
 * This file is part of Zaizi Framework
 *
 * Zaizi REST Client is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Zaizi REST Client is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Zaizi REST Client. If not, see <http://www.gnu.org/licenses/>.
 */
package org.zaizi.restclient.exception;

/**
 * Exception thrown by the rest client
 * 
 * @author efoncubierta
 *
 */
public class RestClientException extends RuntimeException
{

	private static final long serialVersionUID = 4485522067782124440L;

	/**
	 * Constructor
	 * 
	 * @param msg Error message
	 */
	public RestClientException(String msg)
	{
		super(msg);
	}
	
	/**
	 * Constructor
	 * 
	 * @param msg Error message
	 * @param cause Exception
	 */
	public RestClientException(String msg, Throwable cause)
	{
		super(msg, cause);
	}
}
